package com.chinairi.mall.model;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableId;
import com.chinairi.common.model.BaseModel;
import com.baomidou.mybatisplus.annotation.TableField;

/**
 * <p>
 * 节点预警信息配置表
 * </p>
 *
 * @author Webgasd
 * @since 2020-08-17
 */
@TableName("TRACK_ALARM_CONFIG")
public class TrackAlarmConfig extends BaseModel {

    private static final long serialVersionUID = 1L;

    /**
     * 节点预警配置表主键
     */
    @TableId("TAC_ID")
    private String tacId;

    /**
     * 节点编号
     */
    @TableField("TRACK_NUMBER")
    private String trackNumber;

    /**
     * 预警提前量配置
     */
    @TableField("TAC_PRE")
    private Integer tacPre;

    /**
     * 预警发送方式配置
     */
    @TableField("TAC_WAY")
    private String tacWay;

    public String getTacId() {
        return tacId;
    }

    public void setTacId(String tacId) {
        this.tacId = tacId;
    }
    public String getTrackNumber() {
        return trackNumber;
    }

    public void setTrackNumber(String trackNumber) {
        this.trackNumber = trackNumber;
    }
    public Integer getTacPre() {
        return tacPre;
    }

    public void setTacPre(Integer tacPre) {
        this.tacPre = tacPre;
    }
    public String getTacWay() {
        return tacWay;
    }

    public void setTacWay(String tacWay) {
        this.tacWay = tacWay;
    }

    @Override
    public String toString() {
        return "TrackAlarmConfig{" +
            "tacId=" + tacId +
            ", trackNumber=" + trackNumber +
            ", tacPre=" + tacPre +
            ", tacWay=" + tacWay +
        "}";
    }
}
